/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package edu.nii.qlks.ControlLayer;

import edu.nii.qlks.BusinessLogicLayer.ThucDonBLL;
import edu.nii.qlks.DataTransferObject.ThucDonInfo;
import java.util.ArrayList;

/**
 *
 * @author MARS_NHO
 */
public class ThucDonControl {

    ThucDonBLL ThucDon = new ThucDonBLL();

    public ArrayList LayDS() throws Exception {
        return ThucDon.LayDS();
    }

    public void Insert(ThucDonInfo thucDonInfo) throws Exception {
        ThucDon.Insert(thucDonInfo);
    }

    public void Update(ThucDonInfo thucDonInfo) throws Exception {
        ThucDon.Update(thucDonInfo);
    }

    public void Delete(ThucDonInfo thucDonInfo) throws Exception {
        ThucDon.Delete(thucDonInfo);
    }

    public String TaoMaTuDong(String maGoc, int batDau) {
        return ThucDon.TaoMaTuDong(maGoc, batDau);
    }
}
